$(document).ready(function () {
  $('.car').click(function () {
    if ($(this).offset().top == 0) {
      $('.car').animate({top: '500px'}, {duration: 600})
    } else {
      $('.car').animate({top: '0'}, {duration: 600})
    }
  });  
});
